package decorator;

public class GreenShapDecorator extends ShapeDecorator {
    public GreenShapDecorator(Shap shap) {
        super(shap);
    }

    @Override
    public void draw() {
        super.draw();
        setGreen();
    }

    private void setGreen() {
        System.out.println("使用绿色的画笔");
    }

}
